<!-- 
 *  Copyright © 2025, TeamDev. All rights reserved.
 *
 *  Redistribution and use in source and/or binary forms, with or without
 *  modification, must retain the above copyright notice and the following
 *  disclaimer.
 *
 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<html>
<head>
	<title>Popup Test 1</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type='text/css' href="css/stylesheet.css" />
	<script language="JavaScript">
		//<!--
		var useHeight = 105;
		function stopError() { return true; }
		window.onerror = stopError;
		function popup(url, yes) {
			if (document.screen) { useHeight = screen.availHeight }
			var bannerX = 5; var bannerY = useHeight - 10;
			window.open(url, yes, 'resizeable=no,scrollbars=no,width=600,height=130,innerWidth=600,innerHeight=130,titlebar=no,screenX=' + bannerX + ',screenY=' + bannerY + ',left=' + bannerX + ',top=' + bannerY);
		}
		popup('popup1.html', '_pop1');
		popup('popup2.html', '_blank');
		popup('popup3.html', '_');
		popup('popup4.html', '');
		//-->
	</script>
</head>
<body class="default" onload="popup('popup5.html', '_blank');popup('popup6.html', '')"
	onunload="popup('popup7.html', '_blank');popup('popup8.html', '_8')">
	<div class="main">
		<b>This page will launch up to 8 popup windows.</b>
		<form>
			<input type="button" value="  BACK  " onclick="history.go(-1)">
		</form>
	</div>
</body>
</html>
